FROM cjpthree/centos7
RUN curl -L -o noarch.rpm https://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm \
&& yum -y install noarch.rpm \
&& rm noarch.rpm \
&& yum -y install mysql-community-server \
&& yum clean all \
&& rm -rf /var/lib/yum/yumdb
